<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>stockgame</title>
        <link rel="stylesheet" href="index.css" />
        <script src="./plugins/tfjs@3.7.0.js"></script>
    </head>
    <body>
        <div class="box">
            <canvas id="canvas" width="500" height="500"></canvas>
            <div class="control">
                <button id="beignGame">开始游戏</button>
                <button id="loadAI">加载AI</button>
                <button id="trainAI">训练AI</button>
                <button id="AIPlay">AI开玩</button>
            </div>
        </div>
        <!-- 自己玩耍时加载此文件 -->
        <!-- <script type="module" src="./index.js"></script> -->

        <!-- 训练AI并让AI玩耍时，加载此文件 -->
        <script type="module" src="./ai_index.js"></script>
    </body>
</html>
